package com.itcat.autoconfig.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * [一句话描述该类的功能]
 *
 * @author : [Cr Mr]
 * @version : [v1.0]
 * @date : [2022/3/30 12:41]
 */
@Component
@Data
@ConfigurationProperties("mall.app")
public class AppProperties {
    /**
     * 文件类型
     */
    private String[] fileTypeArray;

    /**
     * 文件大小
     */
    private int maxFileSize;

    /***
     * Desc: ftp连接地址
     * @param null
     * @return {@link null}
     * @author Cr Mr
     * @date 2022/3/21 16:46
     */
    private String ftpHost;

    /***
     * Desc: ftp用户名
     * @param null
     * @return {@link null}
     * @author Cr Mr
     * @date 2022/3/21 16:48
     */
    private String ftpUserName;

    /***
     * Desc:  ftp密码
     * @param null
     * @return {@link null}
     * @author Cr Mr
     * @date 2022/3/21 16:48
     */
    private String ftpPassword;

    /***
     * Desc: ftp端口
     * @param null
     * @return {@link null}
     * @author Cr Mr
     * @date 2022/3/21 16:48
     */
    private int ftpPort = 21;

    /***
     * Desc:    存储路径
     * @param null
     * @return {@link null}
     * @author Cr Mr
     * @date 2022/3/21 16:48
     */
    private String ftpPath;

    /***
     * Desc: httpd服务地址
     * @param null
     * @return {@link null}
     * @author Cr Mr
     * @date 2022/3/21 18:45
     */
    private String httpdHost;
}
